package org.hxyjs.dto;



/**
 * 消息的枚举 就是把所有的消息可能都列出来的
 */
//查询全部学生为例  查询成功   查询失败  当前没有数据
public enum MessageEnum {
    ADDACTIVITYPRIZESSUCCESS(200,Messages.ADDACTIVITYPRIZESSUCCESS),
    ADDACTIVITYPRIZESFAIL(4001,Messages.ADDACTIVITYPRIZESFAIL),
    UPDATEACTIVITYPRIZESSUCCESS(200,Messages.UPDATEACTIVITYPRIZESSUCCESS),
    UPDATEACTIVITYPRIZESFAIL(4001,Messages.UPDATEACTIVITYPRIZESFAIL),
    DELETEACTIVITYPRIZESSUCCESS(200,Messages.DELETEACTIVITYPRIZESSUCCESS),
    DELETEACTIVITYPRIZESFAIL(4001,Messages.DELETEACTIVITYPRIZESFAIL),
    GETACTIVITYPRIZESSUCCESS(200,Messages.GETACTIVITYPRIZESSUCCESS),
    GETACTIVITYPRIZESFAIL(4001,Messages.GETACTIVITYPRIZESFAIL),

    ADDACTIVITYPESUCCESS(200,Messages.ADDACTIVITYPESUCCESS),
    ADDACTIVITYPEFAIL(4001,Messages.ADDACTIVITYPEFAIL),
    UPDATEACTIVITYPESUCCESS(200,Messages.UPDATEACTIVITYPESUCCESS),
    UPDATEACTIVITYPRIZEFAIL(4001,Messages.UPDATEACTIVITYPRIZEFAIL),
    DELETEACTIVITYPRIZESUCCESS(200,Messages.DELETEACTIVITYPRIZESUCCESS),
    DELETEACTIVITYPRIZEFAIL(4001,Messages.DELETEACTIVITYPRIZEFAIL),
    GETACTIVITYPRIZESUCCESS(200,Messages.GETACTIVITYPRIZESUCCESS),
    GETACTIVITYPRIZEFAIL(4001,Messages.GETACTIVITYPRIZEFAIL),

    ADDADMINSUCCESS(200,Messages.ADDADMINSUCCESS),
    ADDADMINFAIL(4001,Messages.ADDADMINFAIL),
    UPDATEADMINSUCCESS(200,Messages.UPDATEADMINSUCCESS),
    UPDATEADMINFAIL(4001,Messages.UPDATEADMINFAIL),
    DELETEADMINSUCCESS(200,Messages.DELETEADMINSUCCESS),
    DELETEADMINFAIL(4001,Messages.DELETEADMINFAIL),
    GETADMINSUCCESS(200,Messages.GETADMINSUCCESS),
    GETADMINFAIL(4001,Messages.GETADMINFAIL),

    ADDADVERTISERSSUCCESS(200,Messages.ADDADVERTISERSSUCCESS),
    ADDADVERTISERSFAIL(4001,Messages.ADDADVERTISERSFAIL),
    UPDATEADVERTISERSSUCCESS(200,Messages.UPDATEADVERTISERSSUCCESS),
    UPDATEADVERTISERSFAIL(4001,Messages.UPDATEADVERTISERSFAIL),
    DELETEADVERTISERSSUCCESS(200,Messages.DELETEADVERTISERSSUCCESS),
    DELETEADVERTISERSFAIL(4001,Messages.DELETEADVERTISERSFAIL),
    GETADVERTISERSSUCCESS(200,Messages.GETADVERTISERSSUCCESS),
    GETADVERTISERSFAIL(4001,Messages.GETADVERTISERSFAIL),

    ADDADVERTISINGTYPESUCCESS(200,Messages.ADDADVERTISINGTYPESUCCESS),
    ADDADVERTISINGTYPEFAIL(4001,Messages.ADDADVERTISINGTYPEFAIL),
    UPDATEADVERTISINGTYPESUCCESS(200,Messages.UPDATEADVERTISINGTYPESUCCESS),
    UPDATEADVERTISINGTYPEFAIL(4001,Messages.UPDATEADVERTISINGTYPEFAIL),
    DELETEADVERTISINGTYPESUCCESS(200,Messages.DELETEADVERTISINGTYPESUCCESS),
    DELETEADVERTISINGTYPEFAIL(4001,Messages.DELETEADVERTISINGTYPEFAIL),
    GETADVERTISINGTYPESUCCESS(200,Messages.GETADVERTISINGTYPESUCCESS),
    GETADVERTISINGTYPEFAIL(4001,Messages.GETADVERTISINGTYPEFAIL),

    ADDBOOKSKINDSUCCESS(200,Messages.ADDBOOKSKINDSUCCESS),
    ADDBOOKSKINDFAIL(4001,Messages.ADDBOOKSKINDFAIL),
    UPDATEBOOKSKINDSUCCESS(200,Messages.UPDATEBOOKSKINDSUCCESS),
    UPDATEBOOKSKINDFAIL(4001,Messages.UPDATEBOOKSKINDFAIL),
    DELETEBOOKSKINDSUCCESS(200,Messages.DELETEBOOKSKINDSUCCESS),
    DELETEBOOKSKINDFAIL(4001,Messages.DELETEBOOKSKINDFAIL),
    GETBOOKSKINDSUCCESS(200,Messages.GETBOOKSKINDSUCCESS),
    GETBOOKSKINDFAIL(4001,Messages.GETBOOKSKINDFAIL),

    ADDBOOKSSUCCESS(200,Messages.ADDBOOKSSUCCESS),
    ADDBOOKSFAIL(4001,Messages.ADDBOOKSFAIL),
    UPDATEBOOKSSUCCESS(200,Messages.UPDATEBOOKSSUCCESS),
    UPDATEBOOKSFAIL(4001,Messages.UPDATEBOOKSFAIL),
    DELETEBOOKSSUCCESS(200,Messages.DELETEBOOKSSUCCESS),
    DELETEBOOKSFAIL(4001,Messages.DELETEBOOKSFAIL),
    GETBOOKSSUCCESS(200,Messages.GETBOOKSSUCCESS),
    GETBOOKSFAIL(4001,Messages.GETBOOKSFAIL),

    ADDCAROUSELMAPSUCCESS(200,Messages.ADDCAROUSELMAPSUCCESS),
    ADDCAROUSELMAPFAIL(4001,Messages.ADDCAROUSELMAPFAIL),
    UPDATECAROUSELMAPSUCCESS(200,Messages.UPDATECAROUSELMAPSUCCESS),
    UPDATECAROUSELMAPFAIL(4001,Messages.UPDATECAROUSELMAPFAIL),
    DELETECAROUSELMAPSUCCESS(200,Messages.DELETECAROUSELMAPSUCCESS),
    DELETECAROUSELMAPFAIL(4001,Messages.DELETECAROUSELMAPFAIL),
    GETCAROUSELMAPSUCCESS(200,Messages.GETCAROUSELMAPSUCCESS),
    GETCAROUSELMAPFAIL(4001,Messages.GETCAROUSELMAPFAIL),

    ADDCHILDRENSUCCESS(200,Messages.ADDCHILDRENSUCCESS),
    ADDCHILDRENFAIL(4001,Messages.ADDCHILDRENFAIL),
    UPDATECHILDRENSUCCESS(200,Messages.UPDATECHILDRENSUCCESS),
    UPDATECHILDRENFAIL(4001,Messages.UPDATECHILDRENFAIL),
    DELETECHILDRENSUCCESS(200,Messages.DELETECHILDRENSUCCESS),
    DELETECHILDRENFAIL(4001,Messages.DELETECHILDRENFAIL),
    GETCHILDRENSUCCESS(200,Messages.GETCHILDRENSUCCESS),
    GETCHILDRENFAIL(4001,Messages.GETCHILDRENFAIL),

    ADDCLAZZSUCCESS(200,Messages.ADDCLAZZSUCCESS),
    ADDCLAZZFAIL(4001,Messages.ADDCLAZZFAIL),
    UPDATECLAZZSUCCESS(200,Messages.UPDATECLAZZSUCCESS),
    UPDATECLAZZFAIL(4001,Messages.UPDATECLAZZFAIL),
    DELETECLAZZSUCCESS(200,Messages.DELETECLAZZSUCCESS),
    DELETECLAZZFAIL(4001,Messages.DELETECLAZZFAIL),
    GETCLAZZSUCCESS(200,Messages.GETCLAZZSUCCESS),
    GETCLAZZFAIL(4001,Messages.GETCLAZZFAIL),

    ADDFESTIVALSUCCESS(200,Messages.ADDFESTIVALSUCCESS),
    ADDFESTIVALFAIL(4001,Messages.ADDFESTIVALFAIL),
    UPDATEFESTIVALSUCCESS(200,Messages.UPDATEFESTIVALSUCCESS),
    UPDATEFESTIVALFAIL(4001,Messages.UPDATEFESTIVALFAIL),
    DELETEFESTIVALSUCCESS(200,Messages.DELETEFESTIVALSUCCESS),
    DELETEFESTIVALFAIL(4001,Messages.DELETEFESTIVALFAIL),
    GETFESTIVALSUCCESS(200,Messages.GETFESTIVALSUCCESS),
    GETFESTIVALFAIL(4001,Messages.GETFESTIVALFAIL),

    ADDGAMETYPESUCCESS(200,Messages.ADDGAMETYPESUCCESS),
    ADDGAMETYPEFAIL(4001,Messages.ADDGAMETYPEFAIL),
    UPDATEGAMETYPESUCCESS(200,Messages.UPDATEGAMETYPESUCCESS),
    UPDATEGAMETYPEFAIL(4001,Messages.UPDATEGAMETYPEFAIL),
    DELETEGAMETYPESUCCESS(200,Messages.DELETEGAMETYPESUCCESS),
    DELETEGAMETYPEFAIL(4001,Messages.DELETEGAMETYPEFAIL),
    GETGAMETYPESUCCESS(200,Messages.GETGAMETYPESUCCESS),
    GETGAMETYPEFAIL(4001,Messages.GETGAMETYPEFAIL),

    ADDNEWSSUCCESS(200,Messages.ADDNEWSSUCCESS),
    ADDNEWSFAIL(4001,Messages.ADDNEWSFAIL),
    UPDATENEWSSUCCESS(200,Messages.UPDATENEWSSUCCESS),
    UPDATENEWSFAIL(4001,Messages.UPDATENEWSFAIL),
    DELETENEWSSUCCESS(200,Messages.DELETENEWSSUCCESS),
    DELETENEWSFAIL(4001,Messages.DELETENEWSFAIL),
    GETNEWSSUCCESS(200,Messages.GETNEWSSUCCESS),
    GETNEWSFAIL(4001,Messages.GETNEWSFAIL),

    ADDORDERDETAILSSUCCESS(200,Messages.ADDORDERDETAILSSUCCESS),
    ADDORDERDETAILSFAIL(4001,Messages.ADDORDERDETAILSFAIL),
    UPDATEORDERDETAILSSUCCESS(200,Messages.UPDATEORDERDETAILSSUCCESS),
    UPDATEORDERDETAILSFAIL(4001,Messages.UPDATEORDERDETAILSFAIL),
    DELETEORDERDETAILSSUCCESS(200,Messages.DELETEORDERDETAILSSUCCESS),
    DELETEORDERDETAILSFAIL(4001,Messages.DELETEORDERDETAILSFAIL),
    GETORDERDETAILSSUCCESS(200,Messages.GETORDERDETAILSSUCCESS),
    GETORDERDETAILSFAIL(4001,Messages.GETORDERDETAILSFAIL),

    ADDPARENTSSUCCESS(200,Messages.ADDPARENTSSUCCESS),
    ADDPARENTSFAIL(4001,Messages.ADDPARENTSFAIL),
    UPDATEPARENTSSUCCESS(200,Messages.UPDATEPARENTSSUCCESS),
    UPDATEPARENTSFAIL(4001,Messages.UPDATEPARENTSFAIL),
    DELETEPARENTSSUCCESS(200,Messages.DELETEPARENTSSUCCESS),
    DELETEPARENTSFAIL(4001,Messages.DELETEPARENTSFAIL),
    GETPARENTSSUCCESS(200,Messages.GETPARENTSSUCCESS),
    GETPARENTSFAIL(4001,Messages.GETPARENTSFAIL),
    GETPARENTSBYEXAMPLESUCCESS(200,Messages.GETPARENTSBYEXAMPLESUCCESS),
    GETPARENTSBYEXAMPLEFAIL(4001,Messages.GETPARENTSBYEXAMPLEFAIL),


    ADDPRESSSUCCESS(200,Messages.ADDPRESSSUCCESS),
    ADDPRESSFAIL(4001,Messages.ADDPRESSFAIL),
    UPDATEPRESSSUCCESS(200,Messages.UPDATEPRESSSUCCESS),
    UPDATEPRESSFAIL(4001,Messages.UPDATEPRESSFAIL),
    DELETEPRESSSUCCESS(200,Messages.DELETEPRESSSUCCESS),
    DELETEPRESSFAIL(4001,Messages.DELETEPRESSFAIL),
    GETPRESSSUCCESS(200,Messages.GETPRESSSUCCESS),
    GETPRESSFAIL(4001,Messages.GETPRESSFAIL),

    ADDPRIZETYPESUCCESS(200,Messages.ADDPRIZETYPESUCCESS),
    ADDPRIZETYPEFAIL(4001,Messages.ADDPRIZETYPEFAIL),
    UPDATEPRIZETYPESUCCESS(200,Messages.UPDATEPRIZETYPESUCCESS),
    UPDATEPRIZETYPEFAIL(4001,Messages.UPDATEPRIZETYPEFAIL),
    DELETEPRIZETYPESUCCESS(200,Messages.DELETEPRIZETYPESUCCESS),
    DELETEPRIZETYPEFAIL(4001,Messages.DELETEPRIZETYPEFAIL),
    GETPRIZETYPESUCCESS(200,Messages.GETPRIZETYPESUCCESS),
    GETPRIZETYPEFAIL(4001,Messages.GETPRIZETYPEFAIL),

    ADDREGIONSUCCESS(200,Messages.ADDREGIONSUCCESS),
    ADDREGIONFAIL(4001,Messages.ADDREGIONFAIL),
    UPDATEREGIONSUCCESS(200,Messages.UPDATEREGIONSUCCESS),
    UPDATEREGIONFAIL(4001,Messages.UPDATEREGIONFAIL),
    DELETEREGIONSUCCESS(200,Messages.DELETEREGIONSUCCESS),
    DELETEREGIONFAIL(4001,Messages.DELETEREGIONFAIL),
    GETREGIONSUCCESS(200,Messages.GETREGIONSUCCESS),
    GETREGIONFAIL(4001,Messages.GETREGIONFAIL),

    ADDSALESAGENTSUCCESS(200,Messages.ADDSALESAGENTSUCCESS),
    ADDSALESAGENTFAIL(4001,Messages.ADDSALESAGENTFAIL),
    UPDATESALESAGENTSUCCESS(200,Messages.UPDATESALESAGENTSUCCESS),
    UPDATESALESAGENTFAIL(4001,Messages.UPDATESALESAGENTFAIL),
    DELETESALESAGENTSUCCESS(200,Messages.DELETESALESAGENTSUCCESS),
    DELETESALESAGENTFAIL(4001,Messages.DELETESALESAGENTFAIL),
    GETSALESAGENTSUCCESS(200,Messages.GETSALESAGENTSUCCESS),
    GETSALESAGENTFAIL(4001,Messages.GETSALESAGENTFAIL),

    ADDSCHOOLSUCCESS(200,Messages.ADDSCHOOLSUCCESS),
    ADDSCHOOLFAIL(4001,Messages.ADDSCHOOLFAIL),
    UPDATESCHOOLSUCCESS(200,Messages.UPDATESCHOOLSUCCESS),
    UPDATESCHOOLFAIL(4001,Messages.UPDATESCHOOLFAIL),
    DELETESCHOOLSUCCESS(200,Messages.DELETESCHOOLSUCCESS),
    DELETESCHOOLFAIL(4001,Messages.DELETESCHOOLFAIL),
    GETSCHOOLSUCCESS(200,Messages.GETSCHOOLSUCCESS),
    GETSCHOOLFAIL(4001,Messages.GETSCHOOLFAIL),

    ADDSHOPPINGTROLLEYSUCCESS(200,Messages.ADDSHOPPINGTROLLEYSUCCESS),
    ADDSHOPPINGTROLLEYFAIL(4001,Messages.ADDSHOPPINGTROLLEYFAIL),
    UPDATESHOPPINGTROLLEYSUCCESS(200,Messages.UPDATESHOPPINGTROLLEYSUCCESS),
    UPDATESHOPPINGTROLLEYFAIL(4001,Messages.UPDATESHOPPINGTROLLEYFAIL),
    DELETESHOPPINGTROLLEYSUCCESS(200,Messages.DELETESHOPPINGTROLLEYSUCCESS),
    DELETESHOPPINGTROLLEYFAIL(4001,Messages.DELETESHOPPINGTROLLEYFAIL),
    GETSHOPPINGTROLLEYSUCCESS(200,Messages.GETSHOPPINGTROLLEYSUCCESS),
    GETSHOPPINGTROLLEYFAIL(4001,Messages.GETSHOPPINGTROLLEYFAIL),

    ADDSUBJECTSUCCESS(200,Messages.ADDSUBJECTSUCCESS),
    ADDSUBJECTFAIL(4001,Messages.ADDSUBJECTFAIL),
    UPDATESUBJECTSUCCESS(200,Messages.UPDATESUBJECTSUCCESS),
    UPDATESUBJECTFAIL(4001,Messages.UPDATESUBJECTFAIL),
    DELETESUBJECTSUCCESS(200,Messages.DELETESUBJECTSUCCESS),
    DELETESUBJECTFAIL(4001,Messages.DELETESUBJECTFAIL),
    GETSUBJECTSUCCESS(200,Messages.GETSUBJECTSUCCESS),
    GETSUBJECTFAIL(4001,Messages.GETSUBJECTFAIL),

;
    private Integer code;//状态码
    private String message;




    MessageEnum() {
    }

    public Integer getCode() {
        return code;
    }

    MessageEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
